luci-app-attendedsysupgrade: show upcoming versions when available
authorEric Fahlgren <[email protected]>
Sun, 9 Mar 2025 16:24:08 +0000 (09:24 -0700)
committerPaul Donald <[email protected]>
Sun, 9 Mar 2025 19:02:12 +0000 (14:02 -0500)
Do not hide upcoming versions behind the 'advanced_mode' setting,
always show them.

Fixes: https://github.com/openwrt/asu/issues/1202
Signed-off-by: Eric Fahlgren <[email protected]>
applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js

index 145d75faf08a28e48e4e2fd1381a263e8e129470..c136e8f96ba25874ff2fca2cd02cbb55fd26356e 100644 (file)
@@ -501,11 +501,6 @@ return view.extend({
                                                break;
                                        }
 
-                                       // skip branch upgrades outside the advanced mode
-                                       if (branch != remote_branch && advanced_mode == 0) {
-                                               continue;
-                                       }
-
                                        candidates.unshift([remote_version, null]);
 
                                        // don't offer branches older than the current